import React,{useEffect} from "react";
import Header from "./components/header";
import List from "./components/List";
import {reqGitHubUserList} from "@/api";
import "./App.less"
const App =()=>{
    useEffect(()=>{
        const re =reqGitHubUserList("nowletgo");
        console.log(re);
    })
    return <div style={{width:"808px",margin:"0 auto"}}>
    <Header></Header>
    <List></List>
    </div>
}
export default App;